package dw.database;

import java.sql.ResultSet;

public abstract class ResultMapper {

	public abstract void mapResult(final ResultSet res);

	public void mapResults(ResultSet executeQuery) {
		try {
			mapResult(executeQuery);
			executeQuery.close();
		} catch (Exception e) {
			e.printStackTrace();
		}

	}

}
